package com.baozhun.mall.common.base

import androidx.databinding.ViewDataBinding
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder

/**
 *   列表基类适配器
 *
 * @author xuefeng.zhu
 * @version 2.10.1
 * @since 2018/12/18/018
 */
open class BaseListAdapter<T, DB : ViewDataBinding>(layoutResId: Int, data: MutableList<T>? = null) :
    BaseQuickAdapter<T, BaseDataBindingHolder<DB>>(layoutResId, data),
    LoadMoreModule {

    init {
        loadMoreModule.preLoadNumber = 10
    }

    override fun convert(holder: BaseDataBindingHolder<DB>, item: T) {
    }

}


